package com.amoby.main.entity;

import java.util.Date;

public class CommbankPay {
    private Long   id;
    private Long   billId;
    private String fileName;
    private String bsb;
    private String acc;
    private String accName;
    private String bsBsb;
    private String bsAcc;
    private String bsName;
    private Double amount;
    private String lodgementRef;
    private String remitter;
    private String payDesc;
    private String reportFile;
    private String statusCode;
    private Date   processDate;
    private String errCode;
    private String errMsg;
    private Byte   state;
    private Date   submitTime;
    private Date   crtime;

    public CommbankPay() {
    }

    public CommbankPay(Cbabill bill) {
        this.billId = bill.getId();
        this.bsb = bill.getBsb();
        this.acc = bill.getAcc();
        this.accName = bill.getAccName();
        this.bsBsb = bill.getBsBsb();
        this.bsAcc = bill.getBsAcc();
        this.bsName = bill.getBsName();
        this.amount = bill.getAmount();
        this.lodgementRef = bill.getLodgementRef();
        this.remitter = bill.getRemitter();
        this.payDesc = bill.getPayDesc();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBillId() {
        return billId;
    }

    public void setBillId(Long billId) {
        this.billId = billId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getBsb() {
        return bsb;
    }

    public void setBsb(String bsb) {
        this.bsb = bsb;
    }

    public String getAcc() {
        return acc;
    }

    public void setAcc(String acc) {
        this.acc = acc;
    }

    public String getAccName() {
        return accName;
    }

    public void setAccName(String accName) {
        this.accName = accName;
    }

    public String getBsBsb() {
        return bsBsb;
    }

    public void setBsBsb(String bsBsb) {
        this.bsBsb = bsBsb;
    }

    public String getBsAcc() {
        return bsAcc;
    }

    public void setBsAcc(String bsAcc) {
        this.bsAcc = bsAcc;
    }

    public String getBsName() {
        return bsName;
    }

    public void setBsName(String bsName) {
        this.bsName = bsName;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getLodgementRef() {
        return lodgementRef;
    }

    public void setLodgementRef(String lodgementRef) {
        this.lodgementRef = lodgementRef;
    }

    public String getRemitter() {
        return remitter;
    }

    public void setRemitter(String remitter) {
        this.remitter = remitter;
    }

    public String getPayDesc() {
        return payDesc;
    }

    public void setPayDesc(String payDesc) {
        this.payDesc = payDesc;
    }

    public String getReportFile() {
        return reportFile;
    }

    public void setReportFile(String reportFile) {
        this.reportFile = reportFile;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public Date getProcessDate() {
        return processDate;
    }

    public void setProcessDate(Date processDate) {
        this.processDate = processDate;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public Date getCrtime() {
        return crtime;
    }

    public void setCrtime(Date crtime) {
        this.crtime = crtime;
    }
}